module.exports = {
  /*
    注意版本问题，否则不生效或报错：
    element-plus: "^1.0.2-beta.62"
    babel-plugin-import: "^1.13.3"
  */
  plugins: [
    [
      'import',
      {
        libraryName: 'element-plus',
        customStyleName: (name) => {
          return `element-plus/lib/theme-chalk/${name}.css`;
        }
      }
    ]
  ],
  presets: ['@vue/cli-plugin-babel/preset']
};
